<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>两列布局</title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			.left{
				width: 20%;
				height: 400px;
				background-color: gainsboro;
				float: left;
			}
			.right{
				width: 80%;
				height: 400px;
				background-color: cornflowerblue;
				float: left;
			}
		</style>	
	</head>
	<body>
		<div class="left"></div>
		<div class="right"></div>
	</body>
</html>
